package com.zmzncs.shop.module.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zmzncs.shop.module.shop.pojo.shopticket.*;

/**
 * <p>
 * 商户-优惠券 服务类
 * </p>
 *
 * @author 高博文
 * @since 2021-05-25
 */
public interface ShopTicketService extends IService<ShopTicket> {

    /** 分页 */
    IPage<ShopTicketDTO> page(ShopTicketSearchForm form);

    /** 添加 */
    void add(ShopTicketAddForm form);

    /** 删除 */
    void delete(Long id);

    /** 修改 */
    void update(ShopTicketUpdateForm form);

    /** 详情 */
    ShopTicketDTO getById(Long id);

}
